function EntityView() {
    var _controller;
    var _btnAdd;
}

EntityView.prototype.initialize = function (controller, addButton) {

    this._controller = controller;
    this._btnAdd = addButton;


    $(this._btnAdd).bind("click", createMethodReference(this, "handleCreate"));
}

EntityView.prototype.handleCreate = function () {
    this._controller.handleCreate();
    return false;
}